package com.college.heyuhua.service.impl;

import com.college.heyuhua.dao.FoundMapper;
import com.college.heyuhua.model.FoundInfo;
import com.college.heyuhua.service.IFoundService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by 赵东坡 on 2019/2/5.
 * Time:22:58
 * 宇宙无敌赵牛逼，祈求永无bug
 */
@Service
public class FoundServiceImpl implements IFoundService{

    @Autowired
    private FoundMapper foundMapper;


    @Override
    public boolean insertFoundInfo(FoundInfo foundInfo) {
        return foundMapper.insertFoundInfo(foundInfo);
    }

    @Override
    public List<FoundInfo> foundList() {
        return foundMapper.foundList();
    }

    @Override
    public boolean deletef(String fid) {
        return foundMapper.deletef(fid);
    }
}
